import { createRouter, createWebHistory } from 'vue-router'
const routes = [
  // {
  //   path: '/',
  //   name: 'root',
  //   redirect: '/home',
  // },
  {
    path: '/sdk',
    name: 'sdk',
    redirect: '/sdk',
    children:[
      {
        path: '/sdk',
        name: 'homeIndex',
        component: () => import('../views/sdk/home/indexView.vue'),
        meta: {
          'title': '',
          'requiresAuth': false,
          'isShowMenu': false,
        },
      },
    ]
  },
  {
    path: '/tms',
    name: 'tms',
    redirect: '/tms',
    children:[
      {
        path: '/tms',
        name: 'homeIndex1',
        component: () => import('../views/tms/home/indexView.vue'),
        meta: {
          'title': '',
          'requiresAuth': false,
          'isShowMenu': false,
        },
      },
    ]
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})


export default router
